<template>
  <el-container id="home">
    <el-header />
    <el-container>
      <el-aside />
      <el-main>Main</el-main>
    </el-container>
  </el-container>
</template>

<script>
import elHeader from "./children/elHeader";
import elAside from './children/elAside'
import {getAside} from '@/api/aside'
export default {
  methods: {},
  async created(){
   const res = await getAside('menus')
   const data = res.data;
  console.log(res);
  },
  components: {
    elHeader,
    elAside
  },
};
</script>

<style lang="scss" scoped>
#home {
  height: 100vh;


}
</style>